package com.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.community.dto.PeopleDTO;
import com.community.po.PeoplePO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ToDo:
 * @Author：高尚磊
 * @date: 2024/6/4 16:08
 */
@Mapper
public interface PeopleDAO extends BaseMapper<PeoplePO> {
    Page<PeopleDTO> page(PeopleDTO peopleDTO);
    PeoplePO getById (Long id);
}
